<?php
/**
 *导出
 */
namespace App\Http\Controllers\Excel;



use Maatwebsite\Excel\Concerns\FromArray;


class ExcelExport implements FromArray
{
    protected $array;

    /**
     * @param array [
     *                  [1,2,3],
     *                  [4,5,6]
     *              ]
     */
    public function __construct(array $array)
    {
        $this->array = $array;
    }

    public function array(): array
    {
        return $this->array;
    }






    
    
}

?>
